package com.hippo.spring.dao.impl;

import com.hippo.spring.dao.UserDao;
import com.hippo.spring.pojo.User;
import org.springframework.stereotype.Repository;

@Repository
public class UserDaoImpl implements UserDao {

    @Override
    public User save() {
        User user = new User();
        user.setUsername("zhangsan");
        user.setAge(30);
        return user;
    }
}
